import Vue from 'vue'
import App from '@/App.vue';
import store from '@/store';
import mpvue from '@/assets/utils/mpvue';
import MpvueRouterPatch from 'mpvue-router-patch';
import http from '@/assets/utils/http';
import config from '@/assets/config';
//import RenderCanvas from 'vnode2canvas'

//Vue.use(RenderCanvas)



Vue.use(MpvueRouterPatch)
import MyPlugin from '@/assets/mixins'
Vue.use(MyPlugin);


Vue.prototype.$http = http;
Vue.prototype.$mpvue = mpvue;
Vue.prototype.$config = config;

Vue.config.productionTip = false
//Vue.use(RenderCanvas);
const app = new Vue({
  mpType: 'app',
  store,
  ...App
});
app.$mount();
